package com.qidian.tcba.admin.model.entity;

import java.util.Date;

public class Announcement {
    private int id;

    private int districtId;

    private int receiveId;

    private int ownerId;

    private int ownerType;

    private Date createdAt;

    private Date updatedAt;

    private String content;

    public Announcement() {
    }

    public Announcement(int districtId, int receiveId, int ownerId, int ownerType, String content) {
        this.districtId = districtId;
        this.receiveId = receiveId;
        this.ownerId = ownerId;
        this.ownerType = ownerType;
        this.content = content;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getDistrictId() {
        return districtId;
    }

    public void setDistrictId(int districtId) {
        this.districtId = districtId;
    }

    public int getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(int receiveId) {
        this.receiveId = receiveId;
    }

    public int getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(int ownerId) {
        this.ownerId = ownerId;
    }

    public int getOwnerType() {
        return ownerType;
    }

    public void setOwnerType(int ownerType) {
        this.ownerType = ownerType;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}